Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Reactor Defence

A topic by Dene created Aug 27, 2017 Views: 738 Replies: 14
Viewing posts 1 to 9
(+1)

Hi, guys :)

We decided to participate with remake based on our LD-jam game: https://ldjam.com/events/ludum-dare/39/reactor-defence

For now, coder has no free time, so I decided to sort out how to use Defold myself (also made new graphics).

Now we have just mobs spawning and moving straight to the right :D Hope to make playable prototype in time.


(+1)

Awesome :) Can't way to play the remake :)

(+1)

looks cool

(+1)

So how was Defold from the pov of a non-developer? What was the hardest to comprehend?

Just finished to read manuals to understand main concepts of engine. Everything seems clear (at least theoretically), except of logic of collections, proxies, etc. Maybe, I need to spend little more time with that stuff :) Also, need a little bit more practice with Lua, never used it before.

(+1)

=] also there's a list of nice video tutorials by our community: https://www.youtube.com/playlist?list=PLS9MbmO_ssyC5gN_850U7iz21ZhdjS3J8

Thanks!

(+1)

Looks awesome!

(1 edit)

Some progress: https://denischera.com/reactor_defence2/index.html

For now you can just add some money with 'space' and upgrade 1 state of reactor, clicking on it :) But in general it's not playable yet, just mobs moving through all the floors.

By the way, that's REALLY huge disadvantage that Defold has no built in function of selecting objects by clicking on them. For now, I am kinda not sure how to realize upgrading not only reactor, but other objects (turrets, etc) :(

(+1)

Hey Dener,


You could use a game object attached to the mouse (set go.set_position of the object to the mouse co-ords on each update) that has a kinematic collision object attached, and then your turrets would also have a collision object (with the type and mask set appropriately so they register each other). You can then check when the mouse clicks if it's colliding with anything, and if so, send a message to the "message.other_id" of what it's colliding with (the turret), telling it to run its upgrade function, or whatever.

(2 edits)

Yeah, I use this kind of approach with reactor already :) Just thinking how to scale this approach to use with multiple objects. A bunch of elseifs makes the code kinda bulky. Thanks anyway!

we have a first playable! :dance:

Here is my progress so far: https://denischera.com/reactor_defence2/index.html

1. Upgrade turrets and reactor with click

2. "Space" for money

Now I want ot implement hp/damage system, so every next state of turret will deal more damage. But I am little bit stack.  More info here: https://forum.defold.com/t/need-some-help-with-damage-hp-approach/11273

https://denischera.com/reactor_defence2/index.html you can check the progress :) Lags in Chrome, so use Mozilla.

You can play the final version here: https://dener.itch.io/reactor-defence Now you can play in any browser you'd like :)