Search found 1178 matches
- Sun Apr 14, 2013 8:35 pm
- Forum: General programming
- Topic: Is there a way to change color in middle of text?
- Replies: 2
- Views: 3858
Is there a way to change color in middle of text?
Is there any commands that would allow me to change size, color and font of text in middle of line? Or is only way to achieve this by putting more than one text object there? If there isnt, then I woudl add it as feature request, for sometimes it would be handy feature. For example right now I am ma...
- Sun Apr 14, 2013 3:59 pm
- Forum: General programming
- Topic: is OnMouseOver problem on Android/iPhone?
- Replies: 1
- Views: 3168
is OnMouseOver problem on Android/iPhone?
If I am using OnMouseOver in my code, will it be a problem if i am trying to use it on android or iPhone? Right now I am having this tilebased map where when mouse moves over one of the tiles, it highlights them. But does it give me any other problem in Android/iPhone except that it just wont be hap...
- Tue Apr 09, 2013 12:01 pm
- Forum: Tutorials
- Topic: Tiled (Map Editor)
- Replies: 1
- Views: 8248
Tiled (Map Editor)
This is not actually a tutoria, but just thought to share knowledge about this, since others might find this useful too. There is this Map Editor called "Tiled": http://www.mapeditor.org/ It has an option to Export your map file as .lua file. This file will result in foloowing: return { ve...
- Sun Apr 07, 2013 11:09 am
- Forum: Hollywood bugs
- Topic: This is probably a bug.
- Replies: 3
- Views: 5052
Re: This is probably a bug.
I did some further testing and found something else odd too, if i change it into this way: DisplayBrush(1, #CENTER, #CENTER, {name="black"}) DisplayBrush(2, #CENTER, #CENTER, {name="white"}) LayerToFront(1) Then it indeed shows the black box, but it doesnt react to it at all. it ...
- Sun Apr 07, 2013 11:05 am
- Forum: Hollywood bugs
- Topic: This is probably a bug.
- Replies: 3
- Views: 5052
Re: This is probably a bug.
Sorry, I try to be bit more clear this time. What I meant by not actually knowing what the bug is (if there is one) was that Im not sure what was supposed to happen, and hence there are couple of choices for the bug: 1. Either way I put those 2 lines (and rename their number accordingly), Black box ...
- Fri Apr 05, 2013 8:56 am
- Forum: Hollywood bugs
- Topic: This is probably a bug.
- Replies: 3
- Views: 5052
This is probably a bug.
Can someone confirm if this same happens with them too. I am using this under Windows XP with Hollywoods own PC-version editor. Heres the code: @SCREEN {Mode = "FakeFullScreen"} @DISPLAY {Width = 1920, Height = 1080, Borderless = True, ScaleMode = #SCALEMODE_AUTO, FitScale=True} EnableLaye...
- Fri Apr 05, 2013 8:47 am
- Forum: General programming
- Topic: trying to make hexagon map with buttons
- Replies: 3
- Views: 4322
Re: trying to make hexagon map with buttons
@DJRikki Otherwise yes, but what I am after is that I am hoping to make some semi 3D graphics. In that case it could be that theres a large dragon at x10, y10, and then theres a small goblin at x10, y9, which means that in semi 3D, the dragon would be in front of the goblin, and since dragon might b...
- Tue Apr 02, 2013 10:39 pm
- Forum: General programming
- Topic: trying to make hexagon map with buttons
- Replies: 3
- Views: 4322
trying to make hexagon map with buttons
Although I have some specific question, alternative solutions are welcome too. What I am tryigng to do is to make no rectangular shaped map, for example hexagon map. What i want to happen is that when i click on one of the hexagon tiless, I would like to get that hexagon to highlight and then be abl...
- Tue Feb 26, 2013 10:46 pm
- Forum: General programming
- Topic: Android isleftmouse()
- Replies: 3
- Views: 4896
Re: Android isleftmouse()
I was actually thinking about almost similar couple of days ago. For what if I want to make on android/iOS a system where user puts his finger on screen, and then moves his finger, and this movement results in scrolling around a map for example. How does this work in coding level? Do i for example k...
- Thu Feb 14, 2013 11:50 am
- Forum: Newbie questions
- Topic: Accesing tables within tables
- Replies: 2
- Views: 3954
Re: Accesing tables within tables
Yes you can. But if you wish to do it the way you arew doing in example, you need to do the second table in way of t2 = {x=0, y=0, t1 = t1 } Access to t1 would be: t2.t1.boo t2.t1.foo you can have as many table dimensions as you like, and you can also assign them at once. say: table = { [t2] = { [t3...