-
Posts
27 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by GTkoi
-
-
Super ! Thank you very much ?
I'm going to see if there are things that interest me in the community project...
- 1
-
I have tried games on the Leadwerks game launcher, and there are items in the games that I like that I would like to add to my game, is there a way to download maps so I can see how the codes are done ...
-
-
well, I know it's probably super simple, but I assure you that I did not find the info anywhere, and I have been looking for 15 minutes in the editor without finding how to do it, someone could tell me give her the answer?
-
8 hours ago, Thirsty Panther said:
Or if your using the editor "CTL C" and "CTL V".
Or select your brush and hold CTL key down and drag, a copy will be created.
Thank you ! I didn't know the shortcut with control. It's great that you are active in helping people, it's super cool ^^
- 1
-
Hello, I don't know if the forum is still active, but I was wondering if we could duplicate a set of boxes... For example I created a house with boxes manually, can I duplicate this house and put this copy to another place ? Thank you to those who will answer me
-
ha it's good, I found, thank you
- 1
-
hello, it is possible, to place coins in my games and when you pass them,
it picks them up and increases a coin counter at the top of the screen, do you know how to do that ? (code)For exemple : Mario
-
thanks, I will try ??
- 1
-
Thanks for help, I would like change the font size to my code "text on the screen" without change font size In GUI
(when I change the size in the code, it also changes the font size elsewhere, so that I do not want)
-
6 hours ago, Rick said:
Changing font is a state kind of action. When you change it, it's then set for all drawing of text. So you have to change it, draw your text, then change it back to what it was.
What timer are you talking about? You have some timer code somewhere? We'd have to see it.
ok but how do i change the font size of the ecape menu (in main.lua) without changing the font size of the text on the screen?
-
yes, my code for timer is :
Script.font = "" -- path "Font" -- use TrueType font file
Script.pos = Vec2(0,30) -- Vec2 "Position"
Script.size = 15 -- float "Size"
Script.color = Vec4(1,1,0,1) -- color "Color"
Script.offset = 20 -- int "Offset" -- make larger if numbers get cut offfunction Script:Start()
self.font = Font:Load(self.font,self.size)
if self.font == nil then
Debug:Error("Select a font")
end
endfunction Script:PostRender(context)
defaultFont = context:GetFont()r = self.size + self.offset
w = self.pos.x + window:GetWidth()/2 - self.offset
h = self.pos.y--time factor
time = Time:GetCurrent()/1000
context:SetBlendMode(1)
context:SetColor(self.color)
context:SetFont(self.font)
context:DrawText(Math:Round(time),w,h,r,r,Text.VCenter+Text.Center)
context:SetFont(defaultFont)
end -
I have two problem :
I would like restart the timer, when I change the map ...
And the seconde : When I change font size for the text on the screen, it also change the police size in the menu option, and I do not want the font of the menu changes ...
-
Hello ,I would like a code to change the map when I press a key . Also I have delete "triggerChangeMap" for my pc and how do I do to have it again ?
Thanks you ??
-
TIMER
in Programming
Another problem, when I press escape to put the game on pause, the timer comes off the screen...
-
Hello, yes again me
Is it possible to put an object (a lamp for example ) that, when you put it does light, so that it does not need to put a light spot at its location.
-
TIMER
in Programming
no it's good I found a another font to put, thank you for your answers ...
-
TIMER
in Programming
ok but, I don't have the font "brianjames.ttf " x) . So is does not work...
-
TIMER
in Programming
Okay, but where do I put the code? On an object? -
Even if you explain well in writing, I would never do it, you don’t know a video that would show how to do it ? Thank you for your answers
-
thank you x2
- 1
-
thank you !
- 1
-
hello, one last question but not the least : how to put an interface at the beginning of the game with several buttons like "start game" "option" "exit" with a background screen. Thanks to the person who helps me, I am very grateful to you...
-
TIMER
in Programming
Hello, I would like to know how to put a timer at the top of the screen, when we start our game.
Otherwise thank you very much for the previous answers, it helped me a lot !
How to put shader to his game ?
in General Discussion
Posted
ok I will try thanks for the reply !