Search found 1088 matches
- Fri Jul 22, 2022 10:02 pm
- Forum: General
- Topic: How to do lightning
- Replies: 15
- Views: 4732
Re: How to do lightning
A little too fast (no delay implemented) but here's what I scrounged up (still haven't tested darkfrei's one yet, just wanted to see if this idea worked first). local function choose(t) return t[math.random(#t)] end local function point_distance(x,y,xx,yy) return math.sqrt(((x-xx)^2)+(y-yy)^2) end l...
- Fri Jul 22, 2022 9:56 pm
- Forum: General
- Topic: Coding Bullets with Acceleration
- Replies: 7
- Views: 3623
Re: Coding Bullets with Acceleration
Let's use the math! If you are need the speed, that changes by the time, the simplest solution will be just have internal timer and it will be rising by the time. But after some time the speed must be constant, not change anymore: (x is time and y is speed) https://www.desmos.com/calculator/imqojwl...
- Fri Jul 22, 2022 11:44 am
- Forum: General
- Topic: You know how you start a new project and it goes south fast?
- Replies: 7
- Views: 3478
Re: You know how you start a new project and it goes south fast?
You had me there.
Exactlydarkfrei wrote: ↑Fri Jul 22, 2022 11:10 amBrotSagtMist wrote: ↑Fri Jul 22, 2022 10:11 am Sometimes making game is like taking pictures of the sunset.
In the head its that and then on the screen its uhrg.
- Fri Jul 22, 2022 11:42 am
- Forum: General
- Topic: discord serverv!!!!!!!!!!!!
- Replies: 5
- Views: 2999
Re: discord serverv!!!!!!!!!!!!
'Cause it's a "serverv".Hugues Ross wrote: ↑Thu Jul 21, 2022 3:45 pm Why should someone join this server instead of the official one?
- Fri Jul 22, 2022 11:39 am
- Forum: General
- Topic: Coding Bullets with Acceleration
- Replies: 7
- Views: 3623
Coding Bullets with Acceleration
I'm trying to figure out how to code better bullets, which I noticed after observing some gameplay of Nuclear Throne, build up velocity and don't move at their fastest immediately. Now I add an acceleration value like this init() ... --ac = acceleration self.vx = math.cos(angle) self.vy = -1*math.si...
- Thu Jul 21, 2022 2:10 pm
- Forum: Games and Creations
- Topic: [Devlog] Soul Prison - Bullet Hell Roguelike
- Replies: 5
- Views: 3267
Re: [Devlog] Soul Prison - Bullet Hell Roguelike
Best of luck. I'll cheer you on. :) Yeah, thanks :crazy: I've been working on things to make gameplay look ... better. All these things are just loosely implemented but so far this is what I've got... • Implemented some enemies at their most basic • Implemented item and gun pickups • Quick UI • Mar...
- Thu Jul 21, 2022 1:51 pm
- Forum: Support and Development
- Topic: I have 1 question.
- Replies: 10
- Views: 4871
Re: I have 1 question.
Thank you Gunroar:Cannon() for the sprites, but I want one based on this version: https://www.youtube.com/watch?v=5uzOxESUg0U, it must be topdown looking like the second version. Couldn't watch the video (my YT having problems) but something like https://www.researchgate.net/profile/Erik-Jan-Van-Ka...
- Wed Jul 20, 2022 4:49 pm
- Forum: Games and Creations
- Topic: STACKR-X
- Replies: 10
- Views: 6967
Re: STACKR-X
opengameart, google that
- Mon Jul 18, 2022 1:22 pm
- Forum: Support and Development
- Topic: How do you code game states?
- Replies: 11
- Views: 14916
Re: How do you code game states?
Or maybe posted it in Libraries and Tools...
- Sat Jul 16, 2022 11:11 pm
- Forum: Support and Development
- Topic: How do you code game states?
- Replies: 11
- Views: 14916