Re: [Pipmak-Users] Pipmak development
Status: Alpha
Brought to you by:
cwalther
From: Fabrizio P. <fpi...@li...> - 2007-07-09 18:10:44
|
Hello, sorry, (I remind I am NOT a programmer ^_^) Suppose to start in window mode. We switch to fullscreen 1024*768 using pipmak.setfullscreen()x4 (maybe th= e numbers are wrong but doesn't the matter ;) ) Now we can switch [1] 1280*1024 using pipmak.setfullscreen()x2 or [2] bac= k to 800*600 with pipmak.setfullscreen(true)x2 [3] 640*480 with pipmak.se= tfullscreen(true)x4 and so on... In my option screen I'm currently using "<<prev" & " next >> " resolutio= n and "fullscreen/window" but I'm planning to use the way above. The only problem due to the qickly use of pipmak.setfullscreen() is that = some time may happen that the monitor switch to the wanted resolution but= the game area remains smaller in top left of te screen Is a dirty hack but can be easily implemented in resource/default.lua ________________________________________________________ For the second point I hope you haven't based your work on the old mine := D because I've have examinated the window regestry myself to determinate = how icons and application association work and I'm not sure that is 100% = correct ! ________________________________________________________ <A Lua function to smoothly pan to a specific direction in a panorama.> -get the difference of the coords of the current viewdirection with the t= arget view direction -divide this value in an arbitrary number (60) -for each x millisecons (pipmak.schedule) and increase/decrease the coor= ds of the current view what params would we use? az,el: coord time: the time the animation last div(2 to 360): greater is this number smoother is the animation clockwise (true/false): for value between 181 and 359 we can set clockwis= e=3Dfalse ________________________________________________________ This is not important but easy and useful for newbe: There is a plugin for Gimp for extract and save all frames from a video a= s mymovie_0000; mymovie_0001 etc with a schedule we can play it on a patc= h we can use a function playmovie() or an object like "sound" local intro movie {"../movie/intro/intro_", framenumber =3D 100, [framera= te=3D60]} intro:play() What do you think? I hope is not stupid... Best regars, Fabrizio. Andrea Viarengo wrote: > Hi Christian, > > After I managed to build Pipmak from source using MS Visual C++, > I have started to understand code and modify it. > > I have posted on Wiki some solutions to point 5 and 11 in your TODO Lis= t, > I tried they on my notebook and seems to work well. > What are you thinking about? > > I do not know if I will succeed to help you also in others parts of the= code, > because actually I do not know nothing about graphical programming, > SDL or OpenGL, but I learn quickly.... > > Andrea > > =0A=0A=0A------------------------------------------------------=0ALeggi G= RATIS le tue mail con il telefonino i-mode=99 di Wind=0Ahttp://i-mode.win= d.it/=0A |