So I need help with spawning a item

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Kallan00
Prole
Posts: 1
Joined: Sun Apr 24, 2022 4:19 am

So I need help with spawning a item

Post by Kallan00 »

So I am making a game where you collect randomly spawned berry's and for every berry collected you get a point for the shop to get upgrades, how would I go about all of this?
User avatar
darkfrei
Party member
Posts: 1197
Joined: Sat Feb 08, 2020 11:09 pm

Re: So I need help with spawning a item

Post by darkfrei »

Kallan00 wrote: Sun Apr 24, 2022 4:25 am So I am making a game where you collect randomly spawned berry's and for every berry collected you get a point for the shop to get upgrades, how would I go about all of this?
How to make a player and berries or how to make the shop?
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
yal2du
Prole
Posts: 42
Joined: Wed Oct 13, 2021 5:41 pm

Re: So I need help with spawning a item

Post by yal2du »

Kallan00,

You have to turn the idea in your mind into a concrete specification in a symbolic language. Above, you have taken the first step by providing a terse synopsis in English. The next step really depends upon your prior experience with programming, but most generally it entails breaking down the detailed actions to be accomplished to move between states in the experience, and expressing those in a representation of data structures and the algorithms that will operate upon them. The way you imagine this happening is different from how anyone else will imagine it. Eventually you will have broken down the tasks needed to be completed to such a level that you will understand how to accomplish it in löve, or at least lua, or there will be more specific questions that arise. That first step, breaking down the idea into concrete subtasks, needs to occur before anyone is going to be able to provide much input on how you might go about programming any portion of it.

https://eecs.wsu.edu/~cs150/tdd.htm
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 2 guests