About Store Forum Documentation Contact
Donations:
345$/mo



Post Reply 
Playing around with Windows Universal Apps
Author Message
Esenthel Offline
Administrator

Post: #16
RE: Playing around with Windows Universal Apps
2D Graphics, Touch input, and Sounds now work on Windows Phone.
Microsoft Lumia 640
Windows 10
32bit ARM CPU
DX 11, Feature Level 9_3
   
   
03-03-2016 11:42 AM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #17
RE: Playing around with Windows Universal Apps
Awesome! Any ETA? pfft
03-03-2016 12:25 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #18
RE: Playing around with Windows Universal Apps
Have no idea,
When it's done lol
03-03-2016 12:27 PM
Find all posts by this user Quote this message in a reply
Marbasoft Offline
Member

Post: #19
RE: Playing around with Windows Universal Apps
I have a lumia 1020, can't wait to test it pfft
03-04-2016 08:36 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #20
RE: Playing around with Windows Universal Apps
Hi,

The requirements for Windows Phone will be Windows 10 + GPU with DX10/11 Feature Level 9_3 or better.

Based on this website https://en.wikipedia.org/wiki/Nokia_Lumia_1020 it looks like you have Adreno 225.
And based on this website https://en.wikipedia.org/wiki/Adreno I'm not sure if your GPU meets the DirectX Feature Level requirements.
However this website http://www.anandtech.com/show/4940/qualc...itecture/3 says otherwise, so you'll have to see it yourself.

And another screen from today's progress grin

   
03-04-2016 10:58 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #21
RE: Playing around with Windows Universal Apps
3D now fully available :>

   
03-05-2016 10:54 AM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #22
RE: Playing around with Windows Universal Apps
Very nice, Greg! Nice job.

I can see glow working... grin
(This post was last modified: 03-05-2016 06:16 PM by aceio76.)
03-05-2016 06:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #23
RE: Playing around with Windows Universal Apps
Actually this is not glow wink
It's specially crafted textures + glow-like particle effects.
This gives very good performance on mobile, compared to a full post process shader.
03-06-2016 12:05 AM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #24
RE: Playing around with Windows Universal Apps
Oh! Please do share your technique! A single particle with a texture showing a glow-like pattern?
03-06-2016 05:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #25
RE: Playing around with Windows Universal Apps
Hi,

It's very simple, just draw a single particle:
   

You can use code similar to that:
Code:
class Glow
{
   static ImagePtr image;
   static Color    color(255, 192, 64);
   static flt      radius=0.4;

   static void Init()
   {
      image=UID(3007031556, 1137099648, 934413987, 3085159623);
   }
   static void Begin()
   {
      DrawParticleBegin(*Glow.image, 0, false);
   }
   static bool Test(C Vec &pos)
   {
      return Frustum(Ball(radius, pos));
   }
   static void Add(C Vec &pos, flt power)
   {
      Vec p=pos, delta=p-Cam.matrix.pos; flt d=delta.normalize(); p-=delta*(radius*0.5);
      d/=D.viewRange(); d=1-Cube(Sqr(d));
      DrawParticleAdd(color, power*d, radius, 0, p, VecZero);
   }
   static void End()
   {
      DrawParticleEnd();
   }

   Vec pos=VecZero;
   flt power=0.35;

   void draw()
   {
      if(Test(pos))Add(pos, power);
   }

   // io
   bool save(File &f)C
   {
      f.cmpUIntV(0);
      f<<pos<<power;
      return f.ok();
   }
   bool load(File &f)
   {
      switch(f.decUIntV())
      {
         case 0:
         {
            f>>pos>>power;
            if(f.ok())return true;
         }break;
      }
      return false;
   }
}

Memc<Glow> Glows;

void Render()
{
   switch(Renderer())
   {
      case RM_BLEND:
      {
         if(Glows.elms())
         {
            Glow.Begin();
            FREPAO(Glows).draw();
            Glow.End();
         }
      }break;
   }
}
03-06-2016 10:46 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #26
RE: Playing around with Windows Universal Apps
All major issues have been fixed!
I need to do last bit of testing, and I will release the new engine update within a couple days smile
03-09-2016 10:59 AM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #27
RE: Playing around with Windows Universal Apps
Yayyy! Nice work, Esenthel. smile

Can't wait to try out all that new stuf!
03-09-2016 11:05 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #28
RE: Playing around with Windows Universal Apps
Universal Windows Platform support is fully functional, as my game Dungeon Hero got accepted to Windows Store for Desktop and Phones:
https://www.microsoft.com/store/apps/9NBLGGH4QC8G
03-16-2016 11:47 PM
Find all posts by this user Quote this message in a reply
aceio76 Offline
Silver Supporter

Post: #29
RE: Playing around with Windows Universal Apps
Awesome thing, Greg! This will attract more people into the engine.
03-17-2016 01:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Houge Offline
Silver Supporter

Post: #30
RE: Playing around with Windows Universal Apps
03-31-2016 07:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply