• Add Review
  • Subscribe
  • Nominate
  • Submit Media
  • RSS

Update 11 : preview item, drawing mode, set height

  • Wano
  • 12/21/2015 07:04 PM
  • 418 views
Hi,

My exams passed... hm correctly I would say ! Better than what I expected, at least. Well, now I'll try to put new blogs 1 or 2 weeks after the previous, according to my progress and my availability.

Devlog - January 17th 2016 :

- New tutorials : (LINK OF ALL TUTORIALS HERE)

II- Manage maps

8) Delete a map


Right-click on a map and select "Delete map" (or on the map toolbar button). You can also press "delete" key. A warning window will be opened each time you try to delete something.

III- Map editor

8) Set your height




Hover over this icon on the right of the toolbar. You can increase/descrease these two values by using your scroll wheel.

- The first item is the height according to your square size. For example, if you squares are 16 pixels sized and your value is 1, you'll be at 1*16 = 16 pixels height. Range : -9999 to 9999.
- The second item is a real pixels adding to the first item. For example, if the value is 4 with the first example, you'll have a 16 + 4 = 20 pixels height. Range : 0 to (square_size -1).

9) Set your drawing mode




Hover over this icon on the right of the toolbar and select one of these items :

-Pencil : draw simples points/lines (see draw floors)
-Rectangle : draw rectangles (drag & drop) (TODO)
-Paint can : draw over all the textures you selected


--------------------------------------------------------------------



- Starting a winter tileset
- Preview item OK
- Grid height can be changed
- Improvements in editor code
- Pencil and tin
- Delete a floor


Preview item :

In my last blog, I worked with my map editor with ray casting. I got a preview item available working for my floors :



This should work well for autotiles and water too, I'm gonna do this for next week. I Got a lot of problems with that simple feature.. ! :D

Drawing mode :

I added this part on my tutorials (see on top). I have done the classic pencil, and the paint can :



But this will only set the textures in the chunks displayed (hidden items (too far) cannot be edited).

Set height :

See the tutorials part for more details.






Well I'm trully happy to see that my new way to display and too get the mouse pick is working well. It's mainly running at 50 FPS when drawing, 60 FPS while only watching your fantastic creation. I think that the next blog will be posted for the next week.

Thank you again ! :)