Search found 91 matches
- Tue Jan 09, 2018 11:10 am
- Forum: Support and Development
- Topic: File Open
- Replies: 3
- Views: 2821
File Open
I am looking at the wiki and I don't quite see anything regarding opening a window to select and load a new file. Is that possible in love2d because it wasn't last time i was here which was probably around 9.x. Do we still need to generate files within the application and save them in the applicatio...
- Fri Jun 16, 2017 10:21 pm
- Forum: Support and Development
- Topic: Tiled-basic scrolling with tiles collision
- Replies: 3
- Views: 4184
Re: Tiled-basic scrolling with tiles collision
The answer is right your code. Lets use this fragment. if love.keyboard.isDown('up') then player.direction = "up" if player.y > center_y then player.y = player.y - player.speed*dt else map_y = map_y - player.speed*dt end frames = FramesUP changeFrame() 1st thing it checks to make sure the ...
- Fri Jun 16, 2017 9:57 pm
- Forum: Support and Development
- Topic: [SOLVED] Debugging using ZeroBrane Studio
- Replies: 14
- Views: 12948
Re: Debugging using ZeroBrane Studio
I don't debug a program by using the debugger I usually test a program step by step, testing each value as I go and if i run into an issue i'll comment out all the code until i find what is causing the issue. The only time data is printed the console or written to file is when you tell it to do so. ...
- Fri Nov 21, 2014 2:55 am
- Forum: Support and Development
- Topic: How can I make my bounding box collision detection better?
- Replies: 8
- Views: 7841
Re: How can I make my bounding box collision detection bette
You don't need extra bounding boxes or to break up the object any further, the object itself is already a bounding box you can just test collision using colors of the object, why make things more complicated then they have to be? Remember the object is not an empty entity it has properties that you ...
- Fri Nov 21, 2014 2:46 am
- Forum: Support and Development
- Topic: How can I make my bounding box collision detection better?
- Replies: 8
- Views: 7841
Re: How can I make my bounding box collision detection bette
You could cycle through the image for certain pixels at x,y coordinates which can be cpu intensive or use a specific color and test it against the bullets color since the background of your image is clear it it will pass through the image until it reaches the threshold color. enemy.bounds = {153, 20...
- Thu Nov 20, 2014 12:46 pm
- Forum: Support and Development
- Topic: Switching from ATL to STI - tileData does not exist anymore
- Replies: 2
- Views: 3796
Re: Switching from ATL to STI - tileData does not exist anym
What I would do is go through the class file and see what properties and methods the class contained, what & when its method's return or updated its properties, I looked through map.lua and compiled a list of properties and its methods, this list may or may not be complete --Properties of map se...
- Thu Nov 20, 2014 12:02 pm
- Forum: Support and Development
- Topic: LovePackaging v0.3.1 - Build executables and distribute them
- Replies: 6
- Views: 5476
Re: LovePackaging - Build executables and distribute them
Thanks for the contribution 
I believe the script you have there can be altered slightly to work for a windows os, it was just a quick glance.

I believe the script you have there can be altered slightly to work for a windows os, it was just a quick glance.
- Wed Nov 19, 2014 8:04 am
- Forum: Libraries and Tools
- Topic: "Cybercraft": a 2D RPG engine [temporarily final release]
- Replies: 5
- Views: 6839
Re: "Cybercraft": a 2D RPG engine [temporarily final release
Might just be my old machine but I'm getting less than 1 frame per second =/ Also no offense but your engine's code seems a bit over kill, might want to shorten it up a bit. Edit: Also want to point out you don't need to use images for your characters this also includes the interface you can build t...
- Wed Nov 19, 2014 6:33 am
- Forum: Support and Development
- Topic: Does Text Sub Work in JIT?
- Replies: 1
- Views: 2228
Re: Does Text Sub Work in JIT?
It doesn't work because you are defining the function definition inside of love.update You need to define the function outside of love or any other function & then you can call it inside of a function. Now it works :) function love.load() text = { ['t'] = 0, ['c'] = 0, ['n'] = 0, ['speed'] = 10,...
- Wed Nov 19, 2014 2:01 am
- Forum: Support and Development
- Topic: Ghetto Number Pad
- Replies: 4
- Views: 3741
Re: Ghetto Number Pad
Its your phone number :pundef wrote:No, but seriously, what is it?