Search found 219 matches

by Gunroar:Cannon()
Tue Apr 20, 2021 5:52 pm
Forum: Support and Development
Topic: Efficiently drawing a grid map
Replies: 19
Views: 512

Re: Efficiently drawing a grid map

You could draw the whole map to a canvas, and then just draw the canvas each frame. The problem there would likely be texture size, depending on how big your map is. Or you could draw a screenful to a canvas, or slightly more than a screenful to give you a bit of scrolling before you need to redraw...
by Gunroar:Cannon()
Mon Apr 19, 2021 2:33 pm
Forum: Games and Creations
Topic: [WIP] N-Ring, 2D racing or cars
Replies: 3
Views: 3130

Re: [WIP] N-Ring, 2D racing or cars

Looking good!
Edit: I just realized that this thread is old -_- ...So How far are you now.
by Gunroar:Cannon()
Mon Apr 19, 2021 1:18 pm
Forum: Support and Development
Topic: Jumper heuristics
Replies: 4
Views: 172

Re: Jumper heuristics

Hmmm
..so using pathfinder:setHeuristic(custom heuristic) doesn't work...?
by Gunroar:Cannon()
Sun Apr 18, 2021 11:24 pm
Forum: General
Topic: Favourite unique games
Replies: 0
Views: 123

Favourite unique games

Hey everyone. I'm talking about unicorns today. What are your favourite games of uniqueness? :ultrashocked: Wait, what does this mean? Well I mean games that, not necessarily are your favourite to play, but that you give a thumbs up and like due to the way the devs did stuff. It could be you haven't...
by Gunroar:Cannon()
Sun Apr 18, 2021 11:06 pm
Forum: Support and Development
Topic: Efficiently drawing a grid map
Replies: 19
Views: 512

Re: Efficiently drawing a grid map

They are of the same size, thnx pgimeno, though can't I order it when the map is loaded, if it's just one big map, then just put it into an imagedata(what's up with me and imageData :crazy: )
by Gunroar:Cannon()
Sun Apr 18, 2021 5:40 pm
Forum: Games and Creations
Topic: Borkmen: An uncompleted simplex noise, state machine project
Replies: 3
Views: 3629

Re: Borkmen: An uncompleted simplex noise, state machine project

If anyone has any feedback after checking it, maybe if they found a problem(that could help me later), it will be appreciated. ^^
Note: could work on desktop if paddy.lua and other small things are adjusted
by Gunroar:Cannon()
Sun Apr 18, 2021 5:37 pm
Forum: Support and Development
Topic: Efficiently drawing a grid map
Replies: 19
Views: 512

Re: Efficiently drawing a grid map

??Hmmm... Do you get the pictures individually and then put them in one image data, using the data as a spritsheet for a sprite batch? Because that's what I'm asking for.
by Gunroar:Cannon()
Sun Apr 18, 2021 1:53 pm
Forum: Support and Development
Topic: Efficiently drawing a grid map
Replies: 19
Views: 512

Re: Efficiently drawing a grid map

So I could make an atlas of all the tiles used using imagedata, then sort it(?) and then use the sprite batch
...
how? :)
by Gunroar:Cannon()
Sun Apr 18, 2021 10:52 am
Forum: Support and Development
Topic: Which android sdk version to use for android app
Replies: 4
Views: 197

Re: Which android sdk version to use for android app

I need to download that too, right? Any version?
by Gunroar:Cannon()
Sun Apr 18, 2021 7:50 am
Forum: Support and Development
Topic: Jumper heuristics
Replies: 4
Views: 172

Jumper heuristics

I'm using jumper's Astar and I want to find a way to change heuristics so its not just distance. Like for AI to prefer grass paths to dirt paths.
Which part in the code could I change to add this?
If this question's not clear, pls point it out.