Search found 39 matches
- Sun Nov 22, 2015 9:23 pm
- Forum: Support and Development
- Topic: An idea I have, but have no idea where to start
- Replies: 4
- Views: 2075
Re: An idea I have, but have no idea where to start
I have my own card game too, but its a project that I'll work on only when my current project get finished. What I can say is, you need organization. Put in the paper all the functions and utilities you'll need, and start the basic ones. Fluxograms help me a lot, you can try this too.Organizing your...
- Sun Nov 08, 2015 2:11 am
- Forum: Support and Development
- Topic: Detect changes in the canvas
- Replies: 3
- Views: 1614
Re: Detect changes in the canvas
Well it works, but now I have a little problem. whenever i try to compare the two tables, it always return true. as if you always draw correctly.Also, is there a way to optmize the speed of the operations?
- Sat Nov 07, 2015 9:30 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1500158
Re: What's everyone working on? (tigsource inspired)
Simple sidescroller about a rockstar. Kinda nonsense, but i like that style. remind me Snes games.
- Thu Nov 05, 2015 2:50 pm
- Forum: Support and Development
- Topic: Detect changes in the canvas
- Replies: 3
- Views: 1614
Re: Detect changes in the canvas
Alright, I'll try this. I'll just need to copy/modify the code of draw things to the canvas. Thanks!
- Thu Nov 05, 2015 11:41 am
- Forum: Support and Development
- Topic: Detect changes in the canvas
- Replies: 3
- Views: 1614
Detect changes in the canvas
I'm currently workin on a game were I'll have a canvas, and I'll have to draw, like, an autograph on it. But that autograph must be drawn in the right place and form. There is a simple way to detect the changes in the canvas and check if they were correctly drawn? Or I'll have to list all the pixels...
- Mon Aug 10, 2015 3:08 pm
- Forum: Support and Development
- Topic: Just a little doubt, don't mind it
- Replies: 4
- Views: 1719
Re: Just a little doubt, don't mind it
love.keyboard.hasKeyRepeat Its on the wiki. :), changed in 0.9.0 well, "Gets whether key repeat is enabled." it's not that enlightener. function love.keypressed(key, isrepeat) --not the isrepeat parameter end The "isrepeat" parameter will be true if the player hasn't released th...
- Mon Aug 10, 2015 2:03 pm
- Forum: Support and Development
- Topic: Just a little doubt, don't mind it
- Replies: 4
- Views: 1719
Just a little doubt, don't mind it
I am using LÖVE 0.9.2, and I heard that the function getKeyRepeat() isn't available anymore, actually, I discovered it when the function bluescreened my game everytime I tried to check if the player hit the attack button repeatedly, for something like a QuickTimeEvent, you know, the boss is over you...
- Wed Jul 22, 2015 5:35 pm
- Forum: Support and Development
- Topic: Execute lua script in a user's folder
- Replies: 6
- Views: 3198
Re: Execute lua script in a user's folder
Maybe you can use ffi, but it's not recommended. I'm using it (muzz said that Slime wrote it)to set the write dir to wherever I want, using this function function changeDirectory() local ffi = require("ffi") ffi.cdef[[ int PHYSFS_mount(const char *newDir, const char *mountPoint, int append...
- Mon Jul 20, 2015 11:04 pm
- Forum: Support and Development
- Topic: Loading files from an choosable user folder
- Replies: 17
- Views: 7472
Re: Loading files from an choosable user folder
Oh, sorry I commited a mistake. It works, but I am looking for something which works in any place I want, not just inside the write, search or appdata directory. What means ffi.PHYSFS_enumerate files. The big problem to me is that I'm not familiarized with C so, I keep trying to pass a char* as a st...
- Sun Jul 19, 2015 8:25 pm
- Forum: Support and Development
- Topic: Getting users information
- Replies: 9
- Views: 2737
Re: Getting users information
yeah, you can get it accesing some site. And I don't know bout lua, but the internal can be get by a bash script or something. I had something similar, but i lost it :( which means I'll have to search it again. but IP is not the best way to get wich pc is using your site/program. IP's can be easily ...