It looks like you're new here. If you want to get involved, click one of these buttons!
Discussion
|
Started By
|
Replies
|
Views
|
Most Recent
|
return multiple class variables
I don't understand why this doesn't work :(
TextIconX = Core.class(Sprite)
function TextIconX:init(xparams)
local params = ... in General questions Answered ✓ |
6
|
67
|
||
Can a class return a value?
I need some explanation please.
PLAYER1 = Core.class()
function PLAYER1:init()
local obj = 1
return obj
end
Why does this return ... in General questions Answered ✓ |
5
|
132
|
||
base class
I would need your help, please.
I don't know how to create a base class for ... in General questions Answered ✓ |
5
|
104
|
||
my Scroll class hello girls! >:)
I decided to share my class for scrolling
https://youtu.be/CcQJG84CrG4
class:
https://github.com/razorback456/gideros_tools/blob/master/scrolling/assets/classes/scrolling.lua
example of a project:
https://drive.google.com/open?id=1qLd16FI7WcJ4Ji1rN1Qz-XqmNwpFlsOr in Code snippets
|
1
|
123
|
||
Button class is (multitouch)
my advanced version:
outdated version:
--[[
class button v 1.3 https://simartinfo.blogspot.com/p/blog-page_23.html
author (c) https://www.facebook.com/AndroidMobileGame
Usage:
------------------------------------
local btn1= Button.new(Bitmap.new(Texture.new("img/gui_48.png")))
stage:addChild(btn1)
btn1:addEventListener("clickDown", ... in Code snippets |
4
|
312
|
||
Class: Managing a highscore list
Hi folks,
here is the gideros verson of my high-score list manager. You need JSON for ... in Code snippets |
12
|
1K
|
||
Gideros class
I know in lua you can fake OOP by doing
--regular way
--This is what I ... in Game & application design Answered ✓ |
7
|
466
|
||
Change Parents Class methods
Hi,
I have a class I use for a spaceship that inherits from Sprite. I call ... in General questions Answered ✓ |
6
|
271
|
||
Destroy class
Hi I am new to Gideros and have a small question regarding classes. My game ... in General questions Answered |
5
|
492
|
||
Collisions with Class
Hello this is my first Post and i hope you understand my Problem because my ... in Game & application design Answered |
6
|
291
|
||
Load lua class take long time
From a game menu i call the game class with:
sceneManager:changeScene("play", 0.1, SceneManager.flipWithFade, easing.outBack)
It does take ... in General questions Answered ✓ |
3
|
205
|
||
setVisible() doesn't set child objects
I call setVisible(false) on a parent sprite and then call "isVisible()" on the objects children ... in General questions Answered ✓ |
8
|
284
|
||
Passing touch events from interior class to external class
I have a class X that contains a Class Y. Class Y listens for touch ... in General questions Answered |
2
|
177
|
||
object class and box2d
Hi,
i'm new to gideros and not the best in programming. I have some trouble to ... in General questions Answered ✓ |
9
|
443
|
||
How to setup a sprite to return id on mouse/touch event?
Hi.
I've been trying to use OO in Gideros. So I created a "bubble" class from ... in Game & application design Answered ✓ |
5
|
590
|
||
index '__userdata' cannot be found
Hi all,
I am running in to an issue that is stumping me and I was ... in General questions |
3
|
942
|
||
Classes and Overriding Functions
I have been working on my own SceneManager class for fun and to learn more ... in Game & application design |
11
|
1.6K
|
||
Lua Class System : Abstract Lua Class system for your projects
Hi,
Lua Class System (LCS) is a small library which offers a clean, minimalistic but powerful ... in Game & application design |
4
|
1.2K
|