Search found 1085 matches

by Gunroar:Cannon()
Thu Jun 09, 2022 12:40 pm
Forum: General
Topic: Mega Moonlight Mania - Art
Replies: 6
Views: 2464

Mega Moonlight Mania - Art

Just decided to post some art here for y'aaaaallll to see.

higher def full image+variants (free obviously).

It was for a ...game (?).....jam...about ...cover art (yeah)
by Gunroar:Cannon()
Thu Jun 09, 2022 12:31 pm
Forum: General
Topic: Today I learnt...
Replies: 4
Views: 1635

Re: Today I learnt...

Something sinister here...how about if I make the lib write the tables in the save file as global instead of local ...just as a quick hack (for now) :P :rofl: ?
by Gunroar:Cannon()
Tue Jun 07, 2022 10:56 pm
Forum: Games and Creations
Topic: Beyond the Rize
Replies: 29
Views: 9988

Re: Beyond the Rize

Nice. It's good to set a goal.
by Gunroar:Cannon()
Tue Jun 07, 2022 10:49 pm
Forum: General
Topic: How to make non turnbased movement
Replies: 16
Views: 4226

Re: How to make non turnbased movement

:rofl: Brogue uses Dijkstra maps to a good effect.

Does this branch method work on procedural Maps?
by Gunroar:Cannon()
Mon Jun 06, 2022 11:57 pm
Forum: General
Topic: How to make non turnbased movement
Replies: 16
Views: 4226

Re: How to make non turnbased movement

It's ... adjusted :crazy: (E.g in Dust) Enemies find a path to a place a certain distance away from you, Enemies find a path to a place a certain distance close to you, Enemies find a path away from you when they're running away, Enemies refresh paths so they'll move around while attacking. I get wh...
by Gunroar:Cannon()
Mon Jun 06, 2022 10:03 pm
Forum: General
Topic: How to make non turnbased movement
Replies: 16
Views: 4226

Re: How to make non turnbased movement

. IIRC, that's right before calculating the cell score and adding it to the open list. If the entity is too wide for that cell, don't even bother calculating a score; just put it on the closed list and move on. :) Waoh, that's a neat idea, though I'll have to dig into the A* lib I use, but still, I...
by Gunroar:Cannon()
Mon Jun 06, 2022 6:55 pm
Forum: General
Topic: How to make non turnbased movement
Replies: 16
Views: 4226

Re: How to make non turnbased movement

If you're properly using A* (or similar), why would it get stuck on an obstacle? o_O Good question :rofl: Since it's not turn based I move the entity to the next tile in the path with velocity. But then at a turn the entity might get stuck (because it's focusing on the top left of the object), so I...
by Gunroar:Cannon()
Mon Jun 06, 2022 6:47 pm
Forum: General
Topic: Today I learnt...
Replies: 4
Views: 1635

Re: Today I learnt...

Ahhh, heheh. I use a lib called saveTable that saves the game data (nothing bulky, just states and triggers) in a lua file. And wince it was/is a "small" game and bitser seemed not to work on empty files or something, I used that and it's worked up to this point :P. I guess maybe I'll try ...
by Gunroar:Cannon()
Mon Jun 06, 2022 4:54 pm
Forum: General
Topic: Today I learnt...
Replies: 4
Views: 1635

Today I learnt...

... that a lua file has a limit of 200 local variables? Error toybox/LGML.lua:125: Syntax error: hunt_TMP:201: main function has more than 200 local variables Traceback [C]: in function 'load' toybox/LGML.lua:125: in function 'getSettingsToSave' toybox/LGML.lua:165: in function 'saveData' hunt/GameS...
by Gunroar:Cannon()
Mon Jun 06, 2022 4:49 pm
Forum: General
Topic: How to make non turnbased movement
Replies: 16
Views: 4226

Re: How to make non turnbased movement

Hmmm, that's true. Nuclear throne just has the characters move randomly and also move back when you're too close. Nice insight. The example is just general "blahblah" (?) code that I did a while back (and lost?) and was now thinking to do it again but with some more info on what others tho...