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
Some sort of Layout system
Its not even close to a n1cke's layout :D But, this thing allow you to ...
Answered
12
104
Bloom and decay without a custom shader...
Was tinkering and had some advice from some friends about alternative ways to do bloom ...
16
175
Clamping & Remapping the value
Just want to share two very useful functions. -- Limits the value to the specified range. -- ...
Question
0
37
Skeleton game code
This code has a background 'game' (just a square moving), a title front end, an ...
5
113
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
31
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
106
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
92
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
90
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
105
My simple button pad class
So, I decided to create a simple math game for myself to play it on ...
Question
0
36
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
137
How to stop Core.asyncCall?
Hi guys! Core.asyncCall is very handy for working with delays, personally I use it this way ...
Answered ✓
2
54
How to make this sliding effect?
Hi guys! Do you know how to make such sliding effect? (white lines slide from left ...
Answered ✓
14
105
Another Shake
Folks, I wasn't too happy with some of the other "shake" examples that I'd seen so ...
4
393
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
91
Questions about lua
Sorry for the baby question: How to check that the table has a function? ...
Answered ✓
3
64
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
93
Multi-font fonts !
When programming a game you need to pick the right font that matches your game, ...
4
252
Audio class
Hi.. Here is a class that will help you managing sounds on your game. It gives ...
4
488
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
100
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
110
Simple BoxNormalCollision function
Maybe someone find it useful, I used it in my game that I never ...
Answered
7
141
Just another "Circle"
I wanted to create my own circle class but I thought it would be cool ...
Answered
12
355
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
300
Another Movie Clip
Hi, this is Another Movie Clip for Gideros: featuring texture switching, coroutines and TNT Animator compatible. Here ...
Answered
19
563
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
453
safeSound
Some platforms may have problems loading sound, for example different web browsers. You may ...
1
71
HTML5 Portrait view...
When I write my games that need to work in either orientation I use a ...
4
99
Display image from URL
Hey guys! So recently I've run into the need to display from an URL. I have ...
Answered
7
156