Page 104 of 181

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

Posted: Tue Dec 16, 2014 6:16 am
by Zilarrezko
Amazing. And I've hardly touched my code since my last video.

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

Posted: Wed Dec 17, 2014 8:46 pm
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.

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

Posted: Thu Dec 18, 2014 12:17 am
by s-ol
Excuse the bad video, but heres a preview of my CCC entry:

Image

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

Posted: Thu Dec 18, 2014 10:47 am
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.

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

Posted: Thu Dec 18, 2014 9:49 pm
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

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

Posted: Thu Dec 18, 2014 10:33 pm
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 3345 times
I seem to be taking over this thread. I really need to make an OT already.

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

Posted: Fri Dec 19, 2014 12:59 am
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)

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

Posted: Fri Dec 19, 2014 1:32 am
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).

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

Posted: Fri Dec 19, 2014 7:56 am
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,

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

Posted: Tue Dec 23, 2014 7:12 am
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.