Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
Code snippets - Gideros Forum

Code snippets

Everything that you can plug into your app without changing much or at all.
Discussion
Started By
Replies
Views
Most Recent
Skeleton game code
This code has a background 'game' (just a square moving), a title front end, an ...
5
98
You learn something new everyday!
Just figured you can do something like this in Lua ! function still() print("still") end function move() print("move") end stuck=true (stuck and still ...
0
28
Creating Lua Plugins... I've added some help to the Wiki on how to create a Lua based plugin. https://wiki.giderosmobile.com/index.php/Making_a_Plugin
13
93
Bloom and decay without a custom shader...
Was tinkering and had some advice from some friends about alternative ways to do bloom ...
7
84
How to setup IAB in 2019?
Hi guys! I've never tried to setup in-app purchases for GooglePlay. Some questions raised: 1) Why I can't ...
Answered ✓
6
85
CBUMP + TILED = I AM HAPPY TO SHARE :-)
I am building some platformers using gideros. I modified the tiledmap class written by some nice ...
Answered ✓
4
83
How to require "dataSaver" class in init.lua?
Hi guys! I have a question about this class: http://appcodingeasy.com/Gideros-Mobile/Save-and-load-data-module-for-Gideros-Mobile How can I require "dataSaver" inside 'init.lua'? I'm ...
Answered ✓
1
23
SuperShape
While I was figuring out how to work with meshes, I made an implementation of ...
Answered
4
97
My simple button pad class
So, I decided to create a simple math game for myself to play it on ...
Question
0
32
Show a sprite being hit like in the arcades.
Ok, so sometimes you shouldn't believe everything you read. For example, in the Gideros instructions it ...
16
129
How to stop Core.asyncCall?
Hi guys! Core.asyncCall is very handy for working with delays, personally I use it this way ...
Answered ✓
2
46
How to make this sliding effect?
Hi guys! Do you know how to make such sliding effect? (white lines slide from left ...
Answered ✓
14
98
Another Shake
Folks, I wasn't too happy with some of the other "shake" examples that I'd seen so ...
4
390
Is it a good practice to complement internal Gideros classes?
Hi guys! Is it a good practice to complement internal Gideros classes instead of using global ...
Answered ✓
3
85
Questions about lua
Sorry for the baby question: How to check that the table has a function? ...
Answered ✓
3
60
BBCode TextField
Whether there is a plugin or an example, format the text with bbcode tags? [b]bolded text[/b] [size="30px"]Large ...
Answered ✓
3
80
Multi-font fonts !
When programming a game you need to pick the right font that matches your game, ...
4
240
Audio class
Hi.. Here is a class that will help you managing sounds on your game. It gives ...
4
480
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
1
92
my generator is a labyrinth hello girls I decided to share my game code with the labyrinth https://drive.google.com/file/d/1DSvZsF34c17ZecSeFccvyk6lLxxpZSC5/view?usp=sharing https://github.com/razorback456/gideros_tools/tree/master/labirynt%20test https://youtu.be/tdV0R84XFsk
Answered
2
101
Simple BoxNormalCollision function
Maybe someone find it useful, I used it in my game that I never ...
Answered
7
134
Just another "Circle"
I wanted to create my own circle class but I thought it would be cool ...
Answered
12
327
Gesture zoom
demo test: https://youtu.be/oofeZeUtynU https://github.com/razorback456/gideros_tools/blob/master/lupa.lua --[[ Scale by gesture клас Масштабування жестом v.1.0 https://simartinfo.blogspot.com/p/v.html author (c) https://www.facebook.com/AndroidMobileGame" ВИКОРИСТАННЯ: ------------------------------------ using: --Lupa.new(number of fingers) ...
11
269
Another Movie Clip
Hi, this is Another Movie Clip for Gideros: featuring texture switching, coroutines and TNT Animator compatible. Here ...
Answered
19
538
New 'Megacool' plugin - how to use it?
Hey guys! I'm testing new awesome Megacool plugin. Just one little question - what should I insert ...
Answered
22
419
safeSound
Some platforms may have problems loading sound, for example different web browsers. You may ...
1
66
HTML5 Portrait view...
When I write my games that need to work in either orientation I use a ...
4
87
Display image from URL
Hey guys! So recently I've run into the need to display from an URL. I have ...
Answered
7
135
Spine vs Spritesheet animation perfomance
Hey guys! I've just tested Spine perfomance vs traditional spritesheet animation (inspired by this video) Personally, I've ...
Answered
15
348
New 'Threads' plugin - how to use it?
Hi guys! I don't get why value of 'a' isn't changed in the end? require "Threads" local thread ...
Answered ✓
4
237