Search found 107 matches
- Mon Jun 06, 2022 7:55 am
- Forum: General
- Topic: Several images to spritesheet
- Replies: 3
- Views: 1819
Re: Several images to spritesheet
You can do it with Aseprite (at least on windows). If all the frames of your animation are named following some convention like idle_1.png, idle_2.png, run_1.png, run_2.png when you open one of the files it will ask you if you want to import the other files as animation frames. You can then just exp...
- Mon May 30, 2022 2:05 pm
- Forum: Support and Development
- Topic: How to convert mouse position to relative coords
- Replies: 2
- Views: 1700
Re: How to convert mouse position to relative coords
There's a nice video by javidx9 channel that shows how to do this. https://www.youtube.com/watch?v=ukkbNKTgf5U&t=1s
- Mon May 23, 2022 7:34 am
- Forum: Games and Creations
- Topic: A Platformer game i made
- Replies: 17
- Views: 5464
Re: A Platformer game i made
Not bad at all! Fullscreen doesn't work for me though. It just displays at the same size at the top left of a fullscreen window.
- Fri May 20, 2022 8:16 am
- Forum: Games and Creations
- Topic: SURPRISE GAME: BAD WRITER
- Replies: 24
- Views: 18762
Re: SURPRISE GAME: BAD WRITER
Awesome work! I always find stories like this inspiring, a fun little game that just caught on.
Out of interest, how did the Switch port go; Is there already a port of Love available to those who've signed the relevant NDA, or did you have to port it yourself?
Out of interest, how did the Switch port go; Is there already a port of Love available to those who've signed the relevant NDA, or did you have to port it yourself?
- Wed May 18, 2022 7:25 am
- Forum: Support and Development
- Topic: A Confusing OOP Problem
- Replies: 5
- Views: 2764
Re: A Confusing OOP Problem
Apologies I misread beginContact and endContact as being scoped to PlayState. As your player object is a member of PlayState you'll have to find a way to make that available outside of that object (the simplest, dirtiest way would be a global variable instead). That said as ReFreezed points out, tho...
- Tue May 17, 2022 2:49 pm
- Forum: Support and Development
- Topic: A Confusing OOP Problem
- Replies: 5
- Views: 2764
Re: A Confusing OOP Problem
I believe the issue is in PlayState.lua, you have the following: function beginContact(a, b, collision) -- 3rd argument: contact object created upon collision Char:beginContact(a, b, collision) end function endContact(a, b, collision) Char:endContact(a, b, collision) end when you probably want funct...
- Mon May 16, 2022 12:16 pm
- Forum: Support and Development
- Topic: Adding Hitboxes
- Replies: 2
- Views: 2263
Re: Adding Hitboxes
Without being able to see "Map1.lua", I suspect you just have to change on line 30 to
Code: Select all
gameMap["Walls"]
Code: Select all
gameMap.layers["Walls"]