Search found 337 matches
- Wed Sep 18, 2024 5:15 am
- Forum: Support and Development
- Topic: Trouble with move to mouse when clicked
- Replies: 6
- Views: 539
Re: Trouble with move to mouse when clicked
Hey. So, in this particular case --using constant-velocity movement, as well as finite state machines-- if you don't know these subjects already, I think skipping on learning them by using a library is gonna have a huge 'negative' impact on your games programming journey, because they are used every...
- Mon Sep 16, 2024 1:08 am
- Forum: Support and Development
- Topic: Trouble with move to mouse when clicked
- Replies: 6
- Views: 539
Re: Trouble with move to mouse when clicked
The use of a flag variable to keep track of what the box is doing, like BrotSagtMist suggested, is a tiny version of a finite state machine (a way of organizing your code to allow some continuous action over time, like moving towards the mouse click, patrolling a dungeon, planting crops, helping gra...
- Sun Sep 15, 2024 2:00 am
- Forum: Support and Development
- Topic: New to Love2D - Seeking Guidance for Zelda-like Games
- Replies: 5
- Views: 628
Re: New to Love2D - Seeking Guidance for Zelda-like Games
Also adding: an RPG game is probably one of the most complex of all game genres that you could go for. If you haven't finished some classic arcade game clones (like Pong, Tetris, Snake, Space Invaders, Asteroids, Pac Man etc) then you'll suffer a lot and not get anywhere. The reason is simple: if yo...
- Sat Sep 14, 2024 6:06 am
- Forum: Support and Development
- Topic: New to Love2D - Seeking Guidance for Zelda-like Games
- Replies: 5
- Views: 628
Re: New to Love2D - Seeking Guidance for Zelda-like Games
i want to learn more think like events,dialogue,scene etc Much of that is covered by "software design patterns", that are then applied to games. This is a cool resource for some of those, but there are others as well: https://gameprogrammingpatterns.com/contents.html For example, an RPG s...
- Sat Sep 14, 2024 5:06 am
- Forum: General
- Topic: How to build projects online (Google Cloud)?
- Replies: 4
- Views: 675
Re: How to build projects online (Google Cloud)?
So this will build an apk artifact as long as it's below 500mb? Yeah, the very last lines of this sample will upload the release .APK build into Github as an artifact (downloadable binary), it's the part that uses "actions/upload-artifact@v3": https://github.com/love-actions/love-actions-...
- Fri Sep 13, 2024 12:14 am
- Forum: General
- Topic: How to build projects online (Google Cloud)?
- Replies: 4
- Views: 675
Re: How to build projects online (Google Cloud)?
There's Github Actions too. There's a limited version available for free Github accounts (500MB storage limit, 2K minutes per month). I hope the storage limit doesn't include the environment... What are Google Cloud's limits? Here are some relevant links: - https://github.com/love-actions/love-actio...
- Thu Sep 12, 2024 4:18 am
- Forum: General
- Topic: Dealing with overlaping sprites and mouse hover
- Replies: 5
- Views: 923
Re: Dealing with overlaping sprites and mouse hover
Hey. I found a CodePen example of overlapped cards done with pure CSS, I modified it to add more cards, it's in here: https://codepen.io/RNavega1/embed/WNqmVZQ?default-tab=html%2Cresult There's also this other one here: https://codepen.io/walpolea/pen/Baawevv And in case one couldn't afford the scre...
- Sat Sep 07, 2024 12:17 pm
- Forum: General
- Topic: Dealing with overlaping sprites and mouse hover
- Replies: 5
- Views: 923
Re: Dealing with overlaping sprites and mouse hover
It doesn't solve the overlapping problem (of which picking the topmost card like MrFariator suggested is probably the only way to address it), but anyway, to make it clear which card is being picked, there's that Mac OS docker zoom effect on mouse hover, which could be placed on the cards: ezgif-6-0...
- Thu Sep 05, 2024 11:28 pm
- Forum: Support and Development
- Topic: Sound and music cut out after a while for no apparent reason.
- Replies: 8
- Views: 1120
Re: Sound and music cut out after a while for no apparent reason.
Wow, this is really well made, great work. I thought it was going to be just a standalone test to find the bug, not a full playable demo. I managed to play this long/far: temp.png I ran it with Love 11.4 on my notebook from 2015, it's Windows 8.1 x64, hard disk drive. No problems with music, sound o...
- Thu Sep 05, 2024 9:15 am
- Forum: Support and Development
- Topic: Sound and music cut out after a while for no apparent reason.
- Replies: 8
- Views: 1120
Re: Sound and music cut out after a while for no apparent reason.
Hi, I'm on my phone so I couldn't try your demo. The only time I got this kind of mysterious bug where it would fail at random points each time I ran my program, it ended up being because of interactions between garbage collection and the FFI. The solution was to store all FFI objects into a table -...