What's everyone working on? (tigsource inspired)

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Zilarrezko
Party member
Posts: 345
Joined: Mon Dec 10, 2012 5:50 am
Location: Oregon

Re: What's everyone working on? (tigsource inspired)

Post by Zilarrezko »

Amazing. And I've hardly touched my code since my last video.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: What's everyone working on? (tigsource inspired)

Post by Jasoco »



Parallax scrolling. Primitive camera system. Placeholder HUD. Conveyor belts animate at the speed they move objects. Doors that require keys. The usual.

Camera needs some work.
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: What's everyone working on? (tigsource inspired)

Post by s-ol »

Excuse the bad video, but heres a preview of my CCC entry:

Image

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: What's everyone working on? (tigsource inspired)

Post by Jasoco »

You wouldn't believe how much trouble this was.

Image

Actually not all that much. The complicated stuff was easy. It's the easy part that was complicated.
User avatar
Positive07
Party member
Posts: 1014
Joined: Sun Aug 12, 2012 4:34 pm
Location: Argentina

Re: What's everyone working on? (tigsource inspired)

Post by Positive07 »

Jasoco wrote:You wouldn't believe how much trouble this was.
Actually not all that much. The complicated stuff was easy. It's the easy part that was complicated.
Amazing! Haha I can guess, moving the platforms around EASY
Keeping Mariups (Nintendo may kill us otherwise) on top of the platform HARD
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: What's everyone working on? (tigsource inspired)

Post by Jasoco »

Positive07 wrote:
Jasoco wrote:You wouldn't believe how much trouble this was.
Actually not all that much. The complicated stuff was easy. It's the easy part that was complicated.
Amazing! Haha I can guess, moving the platforms around EASY
Keeping Mariups (Nintendo may kill us otherwise) on top of the platform HARD
Not hard, but difficult if you don't go about it the right way. Once you figure out the trick it's easy. I just had to reconfigure how I moved the player in order to get the above platforms to work right.

Anyways..
Screen Shot 2014-12-18 at 5.26.43 PM.png
Screen Shot 2014-12-18 at 5.26.43 PM.png (149.54 KiB) Viewed 3339 times
I seem to be taking over this thread. I really need to make an OT already.
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: What's everyone working on? (tigsource inspired)

Post by s-ol »

Spent some time on the visuals, right now there are five blur-variants that I need to decide on. I think this might be the best-looking thing I ever made.


(music is some random yt-track because I had to remove the music I recorded myself listening to)
Last edited by s-ol on Fri Dec 19, 2014 2:50 pm, edited 3 times in total.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: What's everyone working on? (tigsource inspired)

Post by davisdude »

That's cool! I'd be interested to know how you implemented the character skin (how it changes like that, if you understand what I'm saying).
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: What's everyone working on? (tigsource inspired)

Post by s-ol »

davisdude wrote:That's cool! I'd be interested to know how you implemented the character skin (how it changes like that, if you understand what I'm saying).
I am using the "usual" drawing function as a mask and then draw a repeating texture to the full screen [setWrap("repeat","repeat") + a quad (0,0,width,height)].

Here is the routine:

Code: Select all

function drawWithRelStencil( image, stencil, scale, x, y, quad )
	local w, h = image:getDimensions()
	x, y = 0, 0
	scale = scale or 40
	
	love.graphics.push()
	love.graphics.setStencil( stencil )
	love.graphics.push()
	love.graphics.origin()
	love.graphics.draw( image, quad or util.screenquad, (x or 0)-w*scale, (y or 0)-h*scale, 0, scale, scale )
	love.graphics.pop()
	love.graphics.setStencil()
	love.graphics.pop()
	
	if x > w*scale then x = x - (w*scale) end
	if y > w*scale then y = y - (h*scale) end
	return x, y
end
stencil is the function that draws your stuff,
Attachments
GtGLG-a0.6.love
(29.33 KiB) Downloaded 165 times

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: What's everyone working on? (tigsource inspired)

Post by Jasoco »

So implementing proper projectile tossing and collision is proving to be super hard. Perhaps I should just rip it all out and turn it into a normal non-SMB2 style platformer instead.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests