Search found 170 matches

by Qcode
Fri Oct 02, 2015 11:35 pm
Forum: Support and Development
Topic: What are your thoughts on this coding practice?
Replies: 8
Views: 1099

What are your thoughts on this coding practice?

Hey, Just recently I've been using a lot more ternary statements in my code. I really liked the convenience of it for assigning variables, etc. Condensing a five line statement into one line feels pretty nice. What I'm more worried about is that I've also started condensing some statements like this...
by Qcode
Sat Sep 12, 2015 7:15 pm
Forum: Support and Development
Topic: Using maths to solve programming problems.
Replies: 5
Views: 779

Re: Using maths to solve programming problems.

Creating a vector by subtracting is a good start, but you'll probably also want to divide by the total distance between the "Player Point" and the "Mouse Point". Otherwise, you'll have variable speed based on how far the mouse is away from the player. Theoretically you could design this as a gamepla...
by Qcode
Tue Sep 08, 2015 9:10 pm
Forum: Support and Development
Topic: Mouse moved character
Replies: 3
Views: 734

Re: Mouse moved character

You have the love.mouse.isDown part down correctly, but the thing is mousepressed is only triggered once for each individual click. For continuous movement, you want it checking every single frame. So to fix this you can completely remove love.mousepressed, and add this into love.update instead: fun...
by Qcode
Sun Sep 06, 2015 2:34 pm
Forum: Games and Creations
Topic: Becky
Replies: 10
Views: 2373

Re: Becky

Are you using sprite batches or draw culling? One of the main setup features STI performs is batching things so it draws really, really fast. You can obviously do that yourself if you aren't already, but reinventing wheels, etc. I'm not using sprite batches just yet. I guess I should take another l...
by Qcode
Sat Sep 05, 2015 3:16 pm
Forum: Games and Creations
Topic: Becky
Replies: 10
Views: 2373

Re: Becky

I noticed a lot of vertical lines flashing in the sky. I assume that you're using STI and scaling? :P We're using Tiled, but I wrote my own interpreter for it. We're only using one tile id for deciding where the tiles go and then the quad type is decided in code. I did just take a look at STI and i...
by Qcode
Sat Sep 05, 2015 2:00 pm
Forum: Games and Creations
Topic: Becky
Replies: 10
Views: 2373

Re: Becky

You didn't happen to reference any of the Shantae games for your animations did you? The idle animation looks very familiar... Yeah, Jorichi is a real big fan of WayFoward games. He once said in a post "Most of my inspiration came from WayForward’s Shantae and other cute/similar platforming games o...
by Qcode
Fri Sep 04, 2015 8:42 pm
Forum: Games and Creations
Topic: Becky
Replies: 10
Views: 2373

Re: Becky

Movement and animations look pretty smooth. Good job guys ;) Thanks! If I were to have any critique, it'd be that the ground looks very repetitive and boring(kinda ruins the immersion) I suggest checking this tutorial for an nice and interesting fix(requires some work both on the art and the progra...
by Qcode
Thu Sep 03, 2015 8:07 pm
Forum: Games and Creations
Topic: Becky
Replies: 10
Views: 2373

Becky

Hey there, Qcode here. This is a copy of a post made by Jorichi (artist and designer for this projet) over on the stabyourself forums. Since he doesn't have an account here I'm going to be copying this over for him. The rest of the post is written from his perspective. http://puu.sh/jQpjt/e2895a726c...
by Qcode
Sun Feb 15, 2015 12:45 am
Forum: General
Topic: LÖVE 0.9.2 Released
Replies: 59
Views: 48835

Re: LÖVE 0.9.2 Released

I'm using the Mac version and for some reason it doesn't seem to have love.window.maximize included in the window function list. I ran for i, v in pairs(love.window) do print(i, v) end and got setFullscreen function: 0x08f5c350 isCreated function: 0x08f5c3f0 isVisible function: 0x08f5cb50 getMode fu...
by Qcode
Mon Sep 09, 2013 12:41 am
Forum: General
Topic: LÖVE-Jam 1 [VOTING]
Replies: 105
Views: 11322

Re: LÖVE-Jam 1

Dimensionaut A game about moving through time and layered-space. Type: Puzzle-Platformer Download: Dimensionaut.love Real time taken: Somewhere between 23-26 hours. Controls: Arrow keys- Move around Z-Jump A-Go back a layer S-Move forward a layer X-Flip switch. Few screenies: https://dl.dropboxuser...