Search found 13 matches
- Sun Aug 05, 2018 4:59 am
- Forum: Support and Development
- Topic: Can someone give me some straight up way to make simple game states?
- Replies: 4
- Views: 3722
Re: Can someone give me some straight up way to make simple game states?
That's cool and simple enough and all, but i think your solution that you've shown has at least one issue, at a glance: - You're not guarding against the state functions not being defined; now you might say that it should be self-evident that update and draw must be, but you yourself call state.loa...
- Sat Aug 04, 2018 6:53 pm
- Forum: Support and Development
- Topic: Can someone give me some straight up way to make simple game states?
- Replies: 4
- Views: 3722
Re: Can someone give me some straight up way to make simple game states?
Here's a technique I like to use. It's very simple, you just implement each state in its own .lua file as if it were main, and let main.lua dispatche the callbacks to the current state. (This example uses globals, but you can also do "local menu = {} ... return menu" if you prefer.) main.l...
- Mon Aug 11, 2014 11:47 pm
- Forum: General
- Topic: LOVE users map
- Replies: 182
- Views: 131217
Re: LOVE users map
San Jose, California (zip code 95129).
- Thu Sep 27, 2012 1:43 am
- Forum: Support and Development
- Topic: Using multiple files, drawing
- Replies: 2
- Views: 1952
Re: Using multiple files, drawing
Do you call Tutorial.draw() from the draw function in main?
- Mon Sep 24, 2012 7:05 pm
- Forum: General
- Topic: is it possible to make a 2d pixel shooter
- Replies: 15
- Views: 10769
Re: is it possible to make a 2d pixel shooter
Check-out this excellent video tutorial on how to build a 2d shooter: http://cupm.net/public/love2dtutorial/
- Sat Sep 01, 2012 12:46 am
- Forum: LÖVE-Android
- Topic: How to test for Android?
- Replies: 10
- Views: 15602
Re: How to test for Android?
I have an Archos 101 (first model, not the G9). I don't know if it's popular or not. I'm testing my with my own game, you can download it at http://rti-zone.org/eyes-in-the-night.php Most of the love package's size is due to the music, and it's using so much memory the game is a little laggy, so I w...
- Fri Aug 31, 2012 3:07 am
- Forum: LÖVE-Android
- Topic: How to test for Android?
- Replies: 10
- Views: 15602
Re: How to test for Android?
I found that my device has one of those graphic cards that need power of 2 padding. After I fixed that, the game worked, although it seems to use a lot of memory for this tablet. Thanks for the help!
- Wed Aug 29, 2012 6:04 pm
- Forum: LÖVE-Android
- Topic: How to test for Android?
- Replies: 10
- Views: 15602
Re: How to test for Android?
I am not using framebuffers. The no-game screen works fine and shows the animated love planet with the little ghosts.
Also, I'm not getting a black screen but a white screen (of the dimensions specified in the conf.lua), I'm not sure if that helps.
Any idea how to debug that?
Also, I'm not getting a black screen but a white screen (of the dimensions specified in the conf.lua), I'm not sure if that helps.
Any idea how to debug that?
- Tue Aug 28, 2012 6:07 pm
- Forum: LÖVE-Android
- Topic: How to test for Android?
- Replies: 10
- Views: 15602
How to test for Android?
Hi, I just finished a small game, and I wanted to test it on Android with love-native-android. I didn't try much so far, but I'm getting a blank (white) screen at start-up. I'm suspecting the filesystem access to cause problems, and I will try to comment it out next. I have a few questions about how...
- Tue Aug 28, 2012 5:41 pm
- Forum: Games and Creations
- Topic: Eyes In The Night - new game
- Replies: 2
- Views: 4348
Eyes In The Night - new game
Hi friends,
I just finished my first game. Please check it out at http://rti-zone.org/eyes-in-the-night.php
I just finished my first game. Please check it out at http://rti-zone.org/eyes-in-the-night.php